package com.caipin.domain.excel;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:24
 * @Description: TODO
 */
public class CrowdWarningExcel {
    private String date;

    private String location;

    private String personCount;

    private String imageUrl;

    public com.caipin.domain.excel.CrowdWarningExcel setDate(String date) {
        this.date = date;
        return this;
    }

    public com.caipin.domain.excel.CrowdWarningExcel setLocation(String location) {
        this.location = location;
        return this;
    }

    public com.caipin.domain.excel.CrowdWarningExcel setPersonCount(String personCount) {
        this.personCount = personCount;
        return this;
    }

    public com.caipin.domain.excel.CrowdWarningExcel setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.excel.CrowdWarningExcel))
            return false;
        com.caipin.domain.excel.CrowdWarningExcel other = (com.caipin.domain.excel.CrowdWarningExcel)o;
        if (!other.canEqual(this))
            return false;
        Object this$date = getDate(), other$date = other.getDate();
        if ((this$date == null) ? (other$date != null) : !this$date.equals(other$date))
            return false;
        Object this$location = getLocation(), other$location = other.getLocation();
        if ((this$location == null) ? (other$location != null) : !this$location.equals(other$location))
            return false;
        Object this$personCount = getPersonCount(), other$personCount = other.getPersonCount();
        if ((this$personCount == null) ? (other$personCount != null) : !this$personCount.equals(other$personCount))
            return false;
        Object this$imageUrl = getImageUrl(), other$imageUrl = other.getImageUrl();
        return !((this$imageUrl == null) ? (other$imageUrl != null) : !this$imageUrl.equals(other$imageUrl));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.excel.CrowdWarningExcel;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $date = getDate();
        result = result * 59 + (($date == null) ? 43 : $date.hashCode());
        Object $location = getLocation();
        result = result * 59 + (($location == null) ? 43 : $location.hashCode());
        Object $personCount = getPersonCount();
        result = result * 59 + (($personCount == null) ? 43 : $personCount.hashCode());
        Object $imageUrl = getImageUrl();
        return result * 59 + (($imageUrl == null) ? 43 : $imageUrl.hashCode());
    }

    public String toString() {
        return "CrowdWarningExcel(date=" + getDate() + ", location=" + getLocation() + ", personCount=" + getPersonCount() + ", imageUrl=" + getImageUrl() + ")";
    }

    public String getDate() {
        return this.date;
    }

    public String getLocation() {
        return this.location;
    }

    public String getPersonCount() {
        return this.personCount;
    }

    public String getImageUrl() {
        return this.imageUrl;
    }
}

